<xsl:stylesheet version="1.1"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink"
	xmlns="http://www.w3.org/2000/svg">
	<xsl:template match="interaction[@id='dig']" mode="output-defs"
		priority="0">

		<g>
			<defs>
				<defs>
					<filter id="outline-filter" filterUnits="userSpaceOnUse"
						width="32" height="32" x="-16" y="-16">

						<desc>outlines an object.</desc>
						<feMorphology result="DilateAlpha" radius="1"
							operator="dilate" in="SourceAlpha" />
						<feMerge>
							<feMergeNode in="DilateAlpha" />
							<feMergeNode in="SourceGraphic" />
						</feMerge>
					</filter>

				</defs>


			</defs>
			<g transform="rotate(-75) skewY(33) scale(0.75, 1)">
				<g filter="url(#outline-filter)">
					<path d="	M0,4 
					C-14,4 -14,-4 0,-4
					L0,4" class="shovel-head" />
					<path
						d="	M0,1 
					L13,1
					C14,1 14,-1 13,-1
					L0,-1
					C-1,-1 -1,1 0,1"
						class="shovel-handle" />
				</g>
				<g transform="translate(-12,0) scale(1.333, 1) skewY(-33) rotate(75)">
					<path
						d="	M4,0 
					C4,-1 2,-1 2,-1
					C2,-3 -2,-3 -2,-1
					C-2,-2 -4,-2 -4,0"
						class="shovel-dirt" />

				</g>
			</g>
		</g>
	</xsl:template>
</xsl:stylesheet>